package com.example.computer_exam_training_sys.entity;

import lombok.Data;
import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
public class UserStudyPlan {
    private Long planId;
    private Long userId;
    private String planName;
    private LocalDate startDate;
    private LocalDate endDate;
    private Integer dailyTarget;
    private Integer currentProgress;
    private Integer status; // 0-未开始，1-进行中，2-已完成，3-已放弃
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
    
    // 额外字段，用于关联课程
    private Long courseId;
} 